package com.intellagric.interfaces.product;

import com.intellagric.common.bean.LayuiDataGridResult;
import com.intellagric.common.bean.ResponseMessage;
import com.intellagric.pojo.ProductCategory;

public interface ProductCategoryService {
    ResponseMessage selectProductCategoryById(String id);

    ResponseMessage insertProductCategory(ProductCategory ProductCategory);

    ResponseMessage deleteProductCategory(String id);

    ResponseMessage editProductCategory(ProductCategory ProductCategory);

    LayuiDataGridResult getList(int page, int limit);

    //查询菜单数据信息，生成树形菜单
    LayuiDataGridResult getMenu();

    LayuiDataGridResult batchDeleteProductCategory(String[] ids);

    LayuiDataGridResult getProductCategoryByKeyword(int page, int limit, String keyword);


}
